<?php 

class FormationModel extends CI_Model {
      
    
    function __construct()
    {
		// Call the Model constructor
		parent::__construct();
    }
        
    
    
    function getListeFormation()
    {
		$this->db->select('*');
		$this->db->from('formation');
		$query = $this->db->get();
		return $query->result();
    }
    
    function getListeModule()
    {
		$this->db->select('*');
		$this->db->from('module');
		$query = $this->db->get();
		return $query->result();
    }
    
}
